<?xml version="1.0" encoding="UTF-8"?>
<definitions id="definitions"
  xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
  xmlns:camunda="http://camunda.org/schema/1.0/bpmn" 
  targetNamespace="Examples">


  <message id="message" name="Message" />

  <process id="intermediateMessageProcess" isExecutable="true">

    <startEvent id="start" />
    <sequenceFlow sourceRef="start" targetRef="messageEvent" />
    <intermediateCatchEvent id="messageEvent" camunda:jobPriority="${priorityBean.getPriority()}" camunda:asyncAfter="true">
      <messageEventDefinition messageRef="message" />
    </intermediateCatchEvent>
    <sequenceFlow id="flow1" sourceRef="messageEvent" targetRef="end" />
    <endEvent id="end" />

  </process>
</definitions>
